
<%@ page import="comptadub.Membre" %>
<html>
    <head>
        <title><g:layoutTitle default="Grails" /></title>
        <link rel="stylesheet" href="${resource(dir:'css',file:'main.css')}" />
        <link rel="shortcut icon" href="${resource(dir:'images',file:'favicon.ico')}" type="image/x-icon" />
        <g:layoutHead />
    </head>

    <script type="text/javascript">
        function show(id)
        {
            document.location.href = "${createLink(uri: '/')}" + "${params.controller}" + "/show/" + id;
        }
    </script>
        
    <body>
    <div id="global">
          <div id="entete">
              <div id="logo">
                  <img src="${resource(dir:'images',file:'logo.png')}" alt="ResaDub" border="0" />
              </div>

              <div id="info">
                  <g:link controller="login" action="show">
                      ${Membre.get(session?.idMembre)?.nom}
                  </g:link>
                  <br>Administration
              </div>

              <div id="param">
                  <g:link controller="ligneCompte" action="list">
                      <img src="${createLinkTo(dir:'images/skin',file:'house.png')}" alt="Accueil" />
                  </g:link>
              </div>
          </div>

          <div id="centre">
              <g:layoutBody />
          </div>

          <div id="bas">
              Réalisation Dampeelou &copy;
          </div>
        </div>
    </body>
</html>